package com.lyw.idempotentstarter.config;

import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(prefix = "weaver.idempotent")
public class TokenProperties {
    private StorageTarget storageTarget = StorageTarget.LOCALIZE;

    public static enum StorageTarget{
        REDIS,
        MYSQL,
        LOCALIZE;
    }

    public StorageTarget getStorageTarget() {
        return storageTarget;
    }
}
